﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace Chat.Models
{
    public class IndexModel
    {
        public Users User { get; set; }

         public class FriendAndLastMessage
            {
                public ChatMessages LastMessage { get; set; }
                public Users friend { get; set; }
            }
        public List<FriendAndLastMessage> FriendsAndLastMessage { get; set; }

    }
}